﻿using com.lythen.file.Security.Configuration;
using com.lythen.file.Security.Entities;
using System;
using System.Windows;

namespace FileSecurityTool
{
    /// <summary>
    /// App.xaml 的交互逻辑
    /// </summary>
    public partial class App : Application
    {
        private void Application_Startup(object sender, StartupEventArgs e)
        {
            Application currApp = Application.Current;

            string startUp = "/MainWindow.xaml";
            currApp.StartupUri = new System.Uri(startUp, System.UriKind.Relative);
            DbHelper.CheckDbFile();
        }
    }
}
